﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data;

namespace Marbles.Core.Connectors
{
    public interface IDataConnection
    {
        string ProviderName { get; }
        DataTable FetchDataTable(Command Command);
        DataSet FetchDataSet(Command Command);
        Int32 ExecuteCommand(Command Command);
        IDbCommand CreateSqlCommand(IDbConnection Connection, Command Command);
        bool Ping();
        string BuildConnectionString(string Host, string Username, string Password, string Database);
    }
}